import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueRouter from "vue-router"
import RouterConfig from "@/assets/js/routerConfig"
import 'element-ui/lib/theme-chalk/display.css';
import infiniteScroll from 'vue-infinite-scroll';
import "@/theme/index.css";
import "@/assets/css/commonStyle.css";
import axios from "axios";
import constant from "@/assets/js/constant"
import jwt from "jwt-decode";
import store from '@/assets/js/vuexConfig'

import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
import VueQuillEditor from 'vue-quill-editor'

Vue.config.productionTip = false

Vue.prototype.$axios = axios;
Vue.prototype.$const = constant;
Vue.prototype.$jwt = jwt;


Vue.use(ElementUI).use(VueRouter).use(infiniteScroll).use(VueQuillEditor);

const router = new VueRouter(RouterConfig);


new Vue({
  store,
  router,
  render: h => h(App),
}).$mount('#app')
